package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.domain.ExhibitionInfo;
import com.zjhd.sealcutting.param.ExhibitionSearchQuery;
import com.zjhd.sealcutting.utils.response.ResponseResult;
import com.zjhd.sealcutting.vo.SearchResult;

import java.util.List;

/**
 * TODO  展览管理
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/11/27 11:22
 */
public interface ExhibitionInfoService {

    /**
     * TODO  分页查询展览
     * @author wangchao
     * @date 2020/11/27 11:24
     * @param
     * @return
     */
    SearchResult queryExhibitionParamlist(ExhibitionSearchQuery param)throws Exception;

    /**
     * TODO  新增展览
     * @author wangchao
     * @date 2020/11/27 11:26
     * @param
     * @return
     */
    ResponseResult insertExhibition(ExhibitionInfo exhibitionInfo)throws Exception;

    /**
     * TODO  修改展览
     * @author wangchao
     * @date 2020/11/27 11:26
     * @param
     * @return
     */
    ResponseResult updateExhibition(ExhibitionInfo exhibitionInfo)throws Exception;

    /**
     * TODO  查询展览详情
     * @author wangchao
     * @date 2020/11/27 11:27
     * @param
     * @return
     */
    ExhibitionInfo queryByIdExhibition(Integer id)throws Exception;

    /**
     * TODO  删除展览
     * @author wangchao
     * @date 2020/11/27 11:27
     * @param
     * @return
     */
    boolean delExhibition(Integer id)throws Exception;

    /**
     * TODO  查询所有征集中的展览
     * @author wangchao
     * @date 2020/12/14 10:50
     * @param
     * @return
     */
    List<ExhibitionInfo> queryCentralizationExhibition(Integer userId)throws Exception;
}
